// 地图样式
#container-map,#container-map-world,.swiper{
    width: 100%;
    height: 100%;
}
#container-map{
    padding-top: 0.5rem;
    box-sizing: border-box;
}

.container-map-btn{
    position: absolute;
    top: 1.1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
    span{
        color: #2BC4EB;
        font-size: 0.16rem;
        padding: 0.05rem 0.2rem;
        background-color: #0f1f36bd;
        margin-right: 0.2rem;
        border-radius: 0.05rem;
        border: 0.01rem solid #2bc5ebc5;
        cursor: pointer;
        &.active{
            color: #fff;
            background-color: #2bc5ebc5;
            border-color: transparent;
        }
    }
}
.china-map-legend{
    position: absolute;
    bottom: 1.1rem;
    left: 5.4rem;
    padding: 0.1rem 0.2rem 0.1rem 0.1rem;
    border: 0.01rem solid #4c7496;
    background-color: #053b6852;
    border-radius: 0.05rem;
    z-index: 99;
    .china-map-legend-box{
        display: flex;
        align-items: center;
        cursor: pointer;
        margin-bottom: 0.05rem;
        &:last-child{
            margin-bottom: 0;
        }
        img{
            height: 0.25rem;
            margin-right: 0.1rem;
        }
        &.china-map-legend-box-active{
            color: #bbbbbb;
            img{
                filter: grayscale(1);
            }
        }
    }
}

// 左侧
.container-left,.container-right{
    position: fixed;
    bottom: 0.2rem;
    width: 4.6rem;
    height: calc(100% - 1rem);
    background-color: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 0.15rem;
    box-sizing: border-box;
    .contain-box-half{
        width: 100%;
        height: 50%;
    }
}
.container-left{
    left: 0.2rem;
    // 种质资源统计
    .germplasm-resource-box{
        width: 100%;
        display: flex;
        flex-direction: column;
        .germplasm-resource-top{
            width: 100%;
            height: 1.1rem;
            display: flex;
            justify-content: space-between;
            margin-top: 0.1rem;
            .germplasm-resource-half{
                width: 31%;
                height: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                .germplasm-resource-half-img{
                    width: 85%;
                    flex: 1;
                    min-height: 0;
                    background-image: url("./img/zzzl.png");
                    background-repeat: no-repeat;
                    background-size: 100% 100%;
                    position: relative;
                    p{
                        position: absolute;
                        top: 0;
                        left: 50%;
                        width: 100%;
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        animation: transtop 3s linear infinite;
                        background: linear-gradient(180deg, #FFFFFF 0%, #43CBE8 100%);
                        -webkit-background-clip: text;
                        background-clip: text;
                        -webkit-text-fill-color: transparent;
                        span{
                            &:first-child{
                                font-size: 0.25rem;
                                font-family: YouSheBiaoTiHei;
                                margin-right: 0.04rem;
                            }
                            &:last-child{
                                font-size: 0.14rem;
                            }
                        }
                    }
                }
                &:nth-child(2){
                    .germplasm-resource-half-img{
                        background-image: url("./img/pzsl.png");
                        p{
                            background: linear-gradient(180deg, #FFFFFF 0%, #ADEAB2 100%);
                            -webkit-background-clip: text;
                            background-clip: text;
                            -webkit-text-fill-color: transparent;
                        }
                    }
                }
                &:nth-child(3){
                    .germplasm-resource-half-img{
                        background-image: url("./img/ypsl.png");
                        p{
                            background: linear-gradient(180deg, #FFFFFF 0%, #EEF287 100%);
                            -webkit-background-clip: text;
                            background-clip: text;
                            -webkit-text-fill-color: transparent;
                        }
                    }
                }
            }
        }
        > p{
            color: #00FFFF;
            margin-top: 0.3rem;
        }
        .germplasm-resource-bottom{
            flex: 1;
            min-height: 0;
            position: relative;
            > img{
                width: 30%;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 30%;
            }
            #germplasm-resource-chart{
                width: 100%;
                height: 100%;
            }
        }
    }

    // 种质来源分布
    .distribution-germplasm-box{
        display: flex;
        flex-direction: column;
        .distribution-germplasm-top{
            width: 100%;
            display: flex;
            margin-top: 0.1rem;
            .distribution-germplasm-half{
                width: 50%;
                display: flex;
                flex-direction: column;
                align-items: center;
                p{
                    &:first-child{
                        background: linear-gradient(180deg, #FFFFFF 0%, #43CBE8 100%);
                        -webkit-background-clip: text;
                        background-clip: text;
                        -webkit-text-fill-color: transparent;
                        span{
                            &:first-child{
                                font-size: 0.25rem;
                                margin-right: 0.01rem;
                                font-weight: 600;
                            }
                            &:last-child{
                                font-size: 0.16rem;
                                font-weight: 600;
                            }
                        }
                    }
                    &:last-child{
                        margin-top: 0.05rem;
                        color: #D8F2FE;
                        padding: 0.07rem 0.25rem;
                        background-image: url("./img/word-bac.png");
                        background-repeat: no-repeat;
                        background-size: 100% 100%;
                    }
                }
                &:nth-child(2){
                    p{
                        &:first-child{
                            background: linear-gradient(180deg, #FFFFFF 0%, #61FF8E 100%);
                            -webkit-background-clip: text;
                            background-clip: text;
                            -webkit-text-fill-color: transparent;
                        }
                        &:last-child{
                            color: #B9DBC5;
                        }
                    }
                }
            }
        }
        .distribution-germplasm-bottom{
            flex: 1;
            min-height: 0;
            position: relative;
            padding-top: 0.2rem;
            box-sizing: border-box;
            #distribution-germplasm-chart{
                width: 100%;
                height: 100%;
            }
            .variety-collection-btn{
                position: absolute;
                top: 0.15rem;
                right: 0.1rem;
                font-size: 0.13rem;
                span{
                    padding: 0.03rem 0.15rem;
                    background-color: #0F1F36;
                    color: #2BC1E7;
                    cursor: pointer;
                    border: 0.01rem solid #2bc1e7be;
                    border-radius: 0.05rem;
                    margin-left: 0.1rem;
                    &.active{
                        background-color: #2bc1e785;
                        color: #fff;
                        border-color: transparent;
                    }
                }
            }
        }
    }
}


// 右侧
.container-right{
    right: 0.2rem;
    .contain-box-half{
        &:nth-child(1){
            height: 44%;
        }
        &:nth-child(2){
            height: calc(28% - 0.05rem);
        }
        &:nth-child(3){
            height: calc(28% - 0.05rem);
            margin-top: 0.1rem;
        }
    }
    // 品种采集统计
    .variety-collection-statistics{
        width: 100%;
        display: flex;
        flex-direction: column;
        .variety-collection-top{
            width: 100%;
            margin-top: 0.1rem;
            padding: 0 0.1rem;
            box-sizing: border-box;
            .variety-collection-box{
                width: 100%;
                height: 0.45rem;
                margin-bottom: 0.1rem;
                padding: 0 0.2rem;
                box-sizing: border-box;
                display: flex;
                justify-content: space-between;
                align-items: center;
                background-image: url("./img/kuang.png");
                background-repeat: no-repeat;
                background-size: 100% 100%;
                > span{
                    color: #D9F3FF;
                }
                p{
                    background: linear-gradient(180deg, #FFFFFF 0%, #43CBE8 100%);
                    -webkit-background-clip: text;
                    background-clip: text;
                    -webkit-text-fill-color: transparent;
                    font-weight: 600;
                    span{
                        &:first-child{
                            font-size: 0.2rem;
                        }
                    }
                }
                &:last-child{
                    background-image: url("./img/kuang2.png");
                    p{
                        background: linear-gradient(180deg, #FFFFFF 0%, #61FF8E 100%);
                        -webkit-background-clip: text;
                        background-clip: text;
                        -webkit-text-fill-color: transparent;
                    }
                }
            }
        }
        .variety-collection-bottom{
            flex: 1;
            min-height: 0;
            #variety-collection-chart{
                width: 100%;
                height: 100%;
            }
        }
    }
    // 近期新增品种
    .newly-added-varieties{
        padding: 0 0.1rem;
        box-sizing: border-box;
        .newly-added-varieties-head{
            width: 100%;
            height: 0.45rem;
            color: #00FFFF;
            display: flex;
            justify-content: space-between;
            align-items: center;
            > span{
                display: block;
                width: 25%;
                text-align: center;
            }
        }
        .newly-added-varieties-table{
            width: 100%;
            height: calc(100% - 0.5rem);
            overflow: auto;
            &::-webkit-scrollbar{
                width: 0.02rem;
            }
            ul{
                width: 100%;
                height: 100%;
                .swiper-slide{
                    height: 0.4rem;
                }
                li{
                    height: 0.4rem;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    background-color: rgba(90, 100, 103, 0.2);
                    &:nth-child(2n){
                        background-color: rgba(90, 100, 103, 0);
                    }
                    &:hover{
                        background-color: rgba(45, 205, 245, 0.2);
                    }
                    > span{
                        display: block;
                        width: 25%;
                        text-align: center;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                }
            }
        }
    }
}